<?php
namespace app\common\model;
class ShopViews extends Common
{
    protected $autoWriteTimestamp = true;
    protected $createTime = 'ctime';

    /**
     * 店铺信息表关联
     * @return [type] [description]
     */
    public function shop(){
        return $this->hasOne(Shop::class,'id','shop_id');
    }

}
